"select *".
"from statistichep as s inner join partita as p inner join mappa as m".
	"on s.idpartita = p.idpartita and p.mappa = m.nomeMappa".
"where idpartita = $idpartita";


"select *
from statistichep as s inner join partita as p 
	on s.idpartita = p.idpartita
where s.idpartita = $idpartita and s.result = $resultPlayer";